package com.wltjack.test.classloader;

/**
 * @ClassName AClass
 * @Description A类型
 * @Author kangliang
 * @Date 2021/07/07 23:30
 * @Version 1.0
 */
public class AClass {

    static {
        // 静态代码块，类加载的时候 才加载类的静态代码块
        System.out.println(" ======= do static code =======");
    }

    public static void test1() {
        System.out.println("test1() ...");
    }
}
